import request from '@/utils/request';

/* {
  "code": 0,
  "list": {
    "middleDates": [
      {
        "date1": "2019-06-10T09:42:26.752Z",
        "date2": "2019-06-10T09:42:26.752Z"
      }
    ],
    "predictionList": [
      null
    ]
  },
  "message": "string",
  "pagination": {
    "current": 0,
    "pageSize": 0,
    "total": 0
  }
} */
export async function getChartData() {
  return request(`/fss/Similar/prediction`, {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json;charset=utf-8',
    },
    body: JSON.stringify(),
  });
}
